<?php
	if($_COOKIE['admin_id'] == false){
		header("Location:login.php");
	}
	require_once 'config/common.php';
	
	//公共数组
	
	//权限名称
	$commonFlag=array('1'=>'超级管理员','2'=>'管理员','3'=>'客服');
	
	$page = pathinfo($_SERVER['SCRIPT_NAME']);
	$_basename = $page['basename'];
	$smarty->assign('_basename',$_basename);
	$_filename = $page['filename'];
	$smarty->assign('_filename',$_filename);
?>